<?php

namespace app\api\controller\v1;


use app\lib\exception\ParameterException;
use think\Controller;
use think\Exception;
use think\exception\Handle;
use think\View;

class Index extends Controller
{
    public function index(View $view)
    {

        throw new ParameterException([
            'msg' => '测试异常'
        ]);
    }
}